import { Card } from 'antd';
import React from 'react';
const tabList = [
    {
        key: 'autoFit',
        tab: '高度自适应'
    },
]
export default () => {
    const [activeKey, setActiveKey] = React.useState('autoFit')
    
    const tabComponentList: any = {
    //    autoFit: <AutoFit />
    }
    return (
        <div>
            <Card
                tabList={tabList}
                activeTabKey={activeKey}
                onTabChange={key => setActiveKey(key)}
            >
                {tabComponentList[activeKey]}
            </Card>
        </div>
    )
}